package zl10.com;

import java.util.Arrays;

/**
 * Created with Intellij IDEA.
 * Description:
 * User:张蕾
 * Date:2023-06-09
 * Time:19:32
 */
public class Test {
    public static void main(String[] args) {
        int []arr=new int[20];
        arr[0]=1;
        arr[1]=1;
        for (int i = 2; i < arr.length ; i++) {
            arr[i]=arr[i-1]+arr[i-2];
        }
        System.out.println(Arrays.toString(arr));
    }
}
